package com.lzw.service.impl;

import com.lzw.bean.Provider;
import com.lzw.mapper.ProviderMapper;
import com.lzw.service.ProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wim泽
 * @since 2021-12-09
 */
@Service
public class ProviderServiceImpl implements ProviderService {
    @Autowired
    private ProviderMapper providerMapper;


    @Override
    public List<Provider> getProviderList() {
        List<Provider> providerList = providerMapper.getProviderList();
        return providerList;
    }

    @Override
    public List<Provider> getProviderSelectList() {
        List<Provider> providerList = providerMapper.getProviderSelectList();
        return providerList;
    }
}
